package uit.com.project.iCampus.dao.hibernate;

import uit.com.project.iCampus.dao.BuildingInfoDAO;
import uit.com.project.iCampus.dao.BuildingRateDAO;
import uit.com.project.iCampus.dao.DAOFactory;
import uit.com.project.iCampus.dao.UserDAO;
import uit.com.project.iCampus.dao.UserOnlineDAO;

public class HibernateDAOFactory extends DAOFactory{

	@Override
	public UserDAO getUserDAO() {
		return new UserDAOHibernate();
	}

	@Override
	public BuildingInfoDAO getBuildingInfoDAO() {
		// TODO Auto-generated method stub
		return new BuildingInfoDAOHibernate();
	}

	@Override
	public UserOnlineDAO getUserOnlineDAO() {
		return new UserOnlinerDAOHibernate();
	}

	@Override
	public BuildingRateDAO getBuildingRateDAO() {
		return new BuildingRateDAOHibernate();
	}
 }
